#ifndef EDITORMODEMANAGER_H
#define EDITORMODEMANAGER_H

#include "states/statemanager.h"
class MainWindow;
class Document;

namespace Modes {

class EditorModeManager : public StateManager
{
	Q_OBJECT

public:
	EditorModeManager(MainWindow& mainWindow, QObject *parent);
	MainWindow& mainWindow();
private:
	MainWindow& m_mainWindow;
public slots:
	void onDocumentChanged(QPointer<Document> doc);
};

} // namespace Modes

#endif // EDITORMODEMANAGER_H
